abs

function abs(a: integer): integer

Gets the absolute value of a integer.

Since

0.6.0

Parameters

a

The integer for which to calculate the absolute value.


Gets the absolute value of a big_integer.

Since

0.12.0

Parameters

a

The big_integer for which to calculate the absolute value.


function abs(a: decimal): decimal

Gets the absolute value of a decimal.

Since

0.9.1

Parameters

a

The decimal for which to calculate the absolute value.